﻿using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace B.S.DataBase.MyWrite.API.Appicant.Command.Approval
{
    /// <summary>
    /// 审批请假
    /// </summary>
    public class ApprovalLeaveCommand:IRequest<APIResult<object>>
    {

        /// <summary>
        /// 部门领导编号
        /// </summary>
        public int DepartmentHeadId { get; set; }
        /// <summary>
        /// 部门编号
        /// </summary>
        public int DepartmentId { get; set; }
        /// <summary>
        /// 当前登录人编号
        /// </summary>
        public int userId { get; set; }
        /// <summary>
        /// 当前登录人名称
        /// </summary>
        public string NickName { get; set; }
        /// <summary>
        /// 请假id
        /// </summary>
        public int LeaveId { get; set; }
        /// <summary>
        /// 通过/拒绝
        /// </summary>
        public string Status { get; set; }
        /// <summary>
        /// 审核意见
        /// </summary>
        public string Comment { get; set; }
    }
}
